# -*- coding: utf-8 -*-
from django.conf.urls.defaults import *

import views

urlpatterns = patterns('',

    url(r'test/$', views.test),

    url(r'view/list/(?P<model>.*)/$', views.view_list),
    url(r'json/list/(?P<model>.*)/$', views.json_list),
    url(r'rest/delete/(?P<model>.*)/(?P<id>.*)/$', views.rest_delete),
    url(r'rest/save/(?P<model>.*)/$', views.rest_save),


    url(r'view/tree/(?P<model>.*)/$', views.view_tree),
    url(r'json/tree/(?P<model>.*)/$', views.json_tree),


    #url(r'ask/$', views.ask),

)
